package com.runvp.common.enums;

/**
 * 消息类型(01:发起,02:应答)
 */
public enum TcpType implements BaseEnumInterface{
    RECEIVE("02", "应答"),
    SEND("01", "发起");

    private String code;    //类型
    private String desc;    //描述

    TcpType(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    @Override
    public String getDesc() {
        return desc;
    }

    @Override
    public String getDefaulted() {
        return null;
    }

}
